package com.qingneng.budget.util;

public class PaginationContext {
	
	  private static ThreadLocal pagination = new ThreadLocal();

	    public PaginationContext()
	    {
	    }

	    public static void setPaginationBean(PaginationBean paginationBean)
	    {
	        pagination.set(paginationBean);
	    }

	    public static PaginationBean getPaginationBean()
	    {
	        return (PaginationBean)pagination.get();
	    }

	    public static void clearPaginationBean()
	    {
	        pagination.set(null);
	    }

}
